package com.oppo.action;

import java.io.UnsupportedEncodingException;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet("/OrderGetCarAction")
public class OrderGetCarAction extends HttpServlet  {
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


public void service(HttpServletRequest request,HttpServletResponse response) {
	try {
		System.out.println("order");
		request.setCharacterEncoding("utf-8");
		response.setCharacterEncoding("utf-8");// 设置发送编码数据类型
		 String[] Order = request.getParameterValues("Order[]");
		for(int i=0;i<Order.length;i++) {
			System.out.println(Order[i]);	
}	
	} catch (UnsupportedEncodingException e) {
		System.out.println("Order读取出错");
		e.printStackTrace();
	}// 设置接收编码类型
	
}
}
